package com.ib.review.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ib.review.pojo.dto.BatchDeleteParam;
import com.ib.review.pojo.dto.KnowledgeParam;
import com.ib.review.pojo.dto.KnowledgeQuery;
import com.ib.review.pojo.po.KnowledgeBasePO;
import org.springframework.web.multipart.MultipartFile;

public interface KnowledgeService {

    Page<KnowledgeBasePO> query(KnowledgeQuery knowledgeQuery);

    void add(KnowledgeParam knowledgeParam);

    void delete(KnowledgeParam knowledgeParam);

    void edit(KnowledgeParam knowledgeParam);

    void batchDelete(BatchDeleteParam batchDeleteParam);

    void importExcel(MultipartFile file);
}
